<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>新闻资讯</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="css/public.css?v={$site.version}">
    <link rel="stylesheet" href="css/news.css?v={$site.version}">
    <link rel="stylesheet" href="css/swiper.min.css">
    <meta name="author" content="中犇科技">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <!-- No Baidu Site app-->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <style>
        .company_bottom {
            padding: 10px;
        }
        .company_bottom p {
            -webkit-line-clamp: 2;
            line-clamp: 2;
        }
        .industry_box .industry_box_content {
            -webkit-line-clamp: 2;
            line-clamp: 2;
        }
         ::-webkit-scrollbar {
    　　width: 0 !important;
        }
        ::-webkit-scrollbar {
            width: 0 !important;
            height: 0;
        }
    </style>
</head>
<body>
    <!--底部-->
   
<!--底部-->
<div class="index_contact">
    <div class="index_commen index_white">
        <p>联系我们</p>
        <span>北京中犇教育科技感谢您的一路陪伴，我们将做的更好！</span>
    </div>
    <div class="contact_box">

        <div class="">
            <p class="tips">全国服务热线</p>
<!--            <div class="bottom id_copy1"  data-clipboard-text="benbenkeji666">-->
            
            <div class="bottom content">
                <span class="iconfont"><img src="https://zzzh.zhuaizhuaiyu.com/m/img/ph_m.png" alt=""></span>
                <!--{$site.phone}-->
                13021110777
                <!--<a href="tel:{$item.tel}" class="copy_box dial">拨打</a>-->
                <a href="tel:13021110777" class="copy_box dial">拨打</a>
            </div>
            
        </div>
        <div class="">
            <p class="tips">微信客服</p>
            <!--<img style="width:20px;height:20px" src="__CDN__/m/image/jyimg/ewm.png" alt="" />-->
<!--            <div class="bottom id_copy2" data-clipboard-text="{dede:global.cfg_qyqq/}">-->
            <div class="bottom content">
                <span class="iconfont"><img src="https://zzzh.zhuaizhuaiyu.com/m/img/wwx.png" alt=""></span> 
                <!--{$site.weixin}-->
                13021110777
                <!--<div class="copy_box id_copy" data-clipboard-text="{$site.weixin}" style="background-color: #0053B8;">复制</div>-->
                <div class="copy_box id_copy" data-clipboard-text="13021110777" style="background-color: #0053B8;">复制</div>
            </div>
        </div>
        
    </div>
   <div style="width:100%;justify-content:center;display:flex;margin-top:20px">
        <img style="width:120px;height:120px" src="https://zzzh.zhuaizhuaiyu.com/m/image/jyimg/ewm.png" alt="" />
   </div>
    <!-- -->
    <div class="map">
        <div class="map_bar">
            <div>
                <span class="act">北京</span>
                <span>郑州</span>
                <span>上海</span>
                <span>西安</span>
                <span>广州</span>
                <span>合肥</span>
                <span>深圳</span>
                <span>杭州</span>
                <span>济南</span>
                <span>沈阳</span>
                <span>长沙</span>
                <span>南京</span>
                <span>武汉</span>
                <span>物联网中心</span>
            </div>

        </div>

        <div id="allmap">

        </div>

    </div>
</div>
<!--<div class="top_m"><img src="https://zzzh.zhuaizhuaiyu.com/m/img/top_m.png" alt=""></div>-->
<!--<footer id="footer">-->
<!--    <ul>-->
<!--        <li id="bnt_map">-->
<!--            <a href="{:url('m8721.index/index')}">-->
                <!--<span class="num">1</span>-->
<!--                <div class="img img1">  <img src="https://zzzh.zhuaizhuaiyu.com/m/img/foot_1.png"></div> <span>首页 </span> </a>-->
<!--        </li>-->
<!--        <li class="id_copy" data-clipboard-text="13021110777">-->
<!--            <a  class="">-->
<!--                <div class="img img2"> <span class="num">...</span> <img src="https://zzzh.zhuaizhuaiyu.com/m/img/foot_2.png"></div>-->
<!--                <span>微信咨询</span>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
            <!--<span class="num">1</span>-->
<!--            <a href="tel:13021110777">-->
<!--                <div class="img img3">  <img src="https://zzzh.zhuaizhuaiyu.com/m/img/foot_3.png"></div>-->
<!--                <span> 13021110777</span>-->
<!--            </a>-->
<!--        </li>-->
<!--        <li>-->
<!--            <a  class="javascript:;" onclick="openJesongChatByGroup(31854,37569);return false">-->
<!--                <div class="img img4"> <span class="num">1</span><img src="https://zzzh.zhuaizhuaiyu.com/m/img/foot_4.png"></div>-->
<!--                <span> 在线咨询 </span>-->
<!--            </a>-->
<!--        </li>-->
<!--    </ul>-->
<!--</footer>-->

<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/swiper.min.js"></script>
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=8ErqrFXGg1tFdWiCV1yCVGjNr3WDCzoF"></script>
<script type="text/javascript" src="https://developer.baidu.com/map/jsdemo/demo/convertor.js"></script>
<script type="text/javascript" src="js/jquery.waypoints.min.js"></script>
<script type="text/javascript" src="js/InfoBox_min.js"></script>
<script type="text/javascript" src="js/layer.js"></script>
<script type="text/javascript" src="js/clipboard.min.js"></script>
<!--<script language="javascript" src="//scripts.easyliao.com/js/easyliao.js"></script>-->
<!--<script type="text/javascript" charset="UTF-8" src="//scripts.easyliao.com/31854/59319.js"></script>-->
<script>
    $('.top_m').click(function() {
        $('html , body').animate({
            scrollTop: 0
        }, 'slow');
    })

    $('#submit').click(function () {
        var lx = $('#phone').val();
        var xq = $('#demand').val();
        var name = $('#name').val();
        var ctiy = $('#city').val();
        var mreg = /^1[2-9]\d{9}$/;
        if (!mreg.test(lx)) {
            alert('请输入有效的手机号！')
            return false;
        }
        $.ajax({
            type: "POST",
            url: "{:url('m8721/index/ly')}",
            data: {lx:lx, ctiy:ctiy,xq:xq,name:name},
            dataType: "json",
            success: function(data){
                if(data.code==1){
                    alert(data.msg)
                }
            }
        });
    })
    $("#menu").on('click', function() {
        console.log(11)

        $("#nav").addClass('active')
        $("#mask").fadeIn()

    })
    $(".close_nav").on('click', function() {

        $("#nav").removeClass('active')
        $("#mask").fadeOut()

    });

    $("#mask").on('click', function() {

        $("#nav").removeClass('active')
        $("#mask").fadeOut()

    });

    $("#mask").on('touchmove', function(event) {

        return false;

    })
    //开始监听滚动条
    $(window).scroll(function() {
        var topp = $(document).scrollTop();
        if (topp > 300) {
            $('.top_m').css('display','block')
        } else if (topp == 0) {
            $('.top_m').hide()
        }
    })

</script>
<script type="text/javascript" charset="utf-8">
    var map = new BMap.Map("allmap");

    var data_info_arr = [
         [116.467254, 39.911014,"朝阳区建外soho东区A座2310室", '北京'],
         [113.649911, 34.744584, "二七区大学路80号华城国际中心19层", '河南'],
         [121.539173,31.23086, "浦东新区世纪大道1500号东方大厦417室", '上海'],
         [108.95,34.34, "未央区正尚国际金融广场A座9层", '西安'],
         [113.325463,23.132829, "天河区保利克洛维中景B座1705室", '广州'],
         [117.256627,31.857082, "蜀山区西园街道万科金域国际写字楼主楼903", '合肥'],
         [113.95,22.54, "南山区大冲商务中心C座701室", '深圳'],
         [120.25,30.24, "萧山区钱江世纪城保亿中心B座2901室", '杭州'],
         [116.903221,36.685004, "济南市槐荫区中建锦绣广场1--3101室", '济南'],
        [123.433731, 41.769214, "沈阳市和平区三好街96号同方广场B座4001-4003", '沈阳'],
        [112.977927,28.208351, "开福区芙蓉中路CFC富兴时代T3栋14005室", '长沙'],
        [118.79,31.97, "雨花台区绿地之窗C3座301-304室", '南京'],
        [114.30,30.60, "江岸区京汉大道铂仕汇国际广场1805室", '武汉'],
        [ 113.60,34.80,"郑州市大学科技园东区18号楼D座10层", '河南'],
        // [118.800347, 31.975764, "南京市雨花台区绿地之窗C3栋301-304", '江苏'],
        // [120.252188, 30.245202, "杭州市萧山区钱江世纪城保亿中心B幢2901-A室", '浙江'],
        // [113.96093,  22.541376, "深圳市南山区大冲商务中心C座701", '广东'],
        // [108.955682,34.346081, "西安市未央区凤城八路与未央路交叉口正尚国际金融广场A座9层", '陕西'],
       
        
        
        
        
        // [114.252382,30.605346, "武汉市江岸区京汉大道铂仕汇国际广场1805室", '武汉'],
        // [113.649911, 34.744584, "郑州市大学路80号华城国际中心19层", '河南'],
        // [116.467254, 39.911014,"北京市朝阳区建外soho东区A座2310", '北京'],
        // [118.800347, 31.975764, "南京市雨花台区绿地之窗C3栋301-304", '江苏'],
        // [120.252188, 30.245202, "杭州市萧山区钱江世纪城保亿中心B幢2901-A室", '浙江'],
        // [113.96093,  22.541376, "深圳市南山区大冲商务中心C座701", '广东'],
        // [108.955682,34.346081, "西安市未央区凤城八路与未央路交叉口正尚国际金融广场A座9层", '陕西'],
        // [123.433731, 41.769214, "沈阳市和平区三好街96号同方广场B座4001-4003", '沈阳'],
        // [121.539173,31.23086, "上海市浦东新区世纪大道1500号东方大厦417", '上海'],
        // [116.903221,36.685004, "济南市槐荫区中建锦绣广场1--3101室", '济南'],
        // [117.256627,31.857082, "合肥市蜀山区西园街道万科金域国际写字楼主楼903", '合肥'],
        // [112.977927,28.208351, "长沙市开福区万达广场写字楼C3-3005", '长沙'],
        // [113.325463,23.132829, "广州市天河区保利克洛维中景B座1705", '广州'],
        // [114.252382,30.605346, "武汉市江岸区京汉大道铂仕汇国际广场1805", '武汉'],
    ];

    change_map(0);
    var u = navigator.userAgent;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
    var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端

    // if(isAndroid&&!isiOS){
    if(false){
        var BMap = window.BMap;
        var geolocation = new BMap.Geolocation();

        var loca_index = -1;

        geolocation.enableSDKLocation(); //允许SDK辅助
        geolocation.getCurrentPosition(function (r) {

            if(this.getStatus() == 0){

                var province = r.address.province.replace(/省|自治区/g,'');

                console.log(province)

                for(var i=0;i<data_info_arr.length;i++){

                    var text = data_info_arr[i][3];

                    if(province.indexOf(text)>-1){

                        loca_index = i;
                        break;
                    }

                }

                //排除第一个，排除无匹配
                if(loca_index >0){

                    change_map(loca_index);

                    $(".map_bar span").eq(loca_index).addClass('act').siblings().removeClass('act');

                    $(".map_bar div").scrollLeft(40*loca_index)
                }
            }
        })
    }
    //默认

    $(".map_bar span").on('click', function() {
			console.log(11111)
        var index = $(this).index();

        $(this).addClass('act').siblings().removeClass('act')
        change_map(index);

    })

    function change_map(i) {

        var data_info = data_info_arr[i];

        var point = new BMap.Point(data_info[0], data_info[1]);

        map.centerAndZoom(point, 15);

        var html = ["<div class='infoBoxContent'><div class='infoMain' style='font-weight:bold;color:#333'>" + data_info[2] + "</div><div class='infoCont'></div></div>"];
        var infoBox = new BMapLib.InfoBox(map, html.join(""), {
            boxStyle: {
                //background: "url('tipbox.gif') no-repeat center top",
                minWidth: "200px",
                height: "auto",
                whiteSpace:"nowrap"
            },
            closeIconMargin: "1px 1px 0 0",
            enableAutoPan: true,
            align: INFOBOX_AT_TOP
        });
        // var myIcon = new BMap.Icon("__CDN__/m/img/icon_wz.png", new BMap.Size(16, 27));
        var myIcon = new BMap.Icon("https://zzzh.zhuaizhuaiyu.com/m/img/icon_wz.png", new BMap.Size(32, 55));
        var marker2 = new BMap.Marker(point, {
            icon: myIcon
        }); // 创建标注
        map.addOverlay(marker2);

        infoBox.open(marker2);

        //开启信息窗口

        marker2.addEventListener("click", function() {
            map.openInfoWindow(infoWindow, point); //开启信息窗口
        });

    }

    var swiper2 = new Swiper('#lunbo', {
        effect: 'coverflow',
        grabCursor: true,
        centeredSlides: true,
        slidesPerView: 'auto',
        coverflowEffect: {
            rotate: 50,
            stretch: 0,
            depth: 100,
            modifier: 1,
            slideShadows: true,
        }

    });

    $("#menu").on('click', function() {
        console.log(11)
        $("#nav").addClass('active')
        $("#mask").fadeIn()

    })
    $(".close_nav").on('click', function() {

        $("#nav").removeClass('active')
        $("#mask").fadeOut()

    });

    $("#mask").on('click', function() {

        $("#nav").removeClass('active')
        $("#mask").fadeOut()

    });

    $("#mask").on('touchmove', function(event) {

        return false;
    })

    var clipboard = new ClipboardJS('.id_copy');

    clipboard.on('success', function(e) {

        alert('已复制微信号:' + e.text)
        console.info('Action:', e.action);
        console.info('Text:', e.text);
        console.info('Trigger:', e.trigger);

        e.clearSelection();
    });

    clipboard.on('error', function(e) {
        console.error('Action:', e.action);
        console.error('Trigger:', e.trigger);
    });

    //xinzengkaishi
    var clipboard1 = new ClipboardJS('.id_copy1');

    clipboard1.on('success', function(e) {

        alert('已复制微信号:' + e.text)
        console.info('Action:', e.action);
        console.info('Text:', e.text);
        console.info('Trigger:', e.trigger);

        e.clearSelection();
    });

    clipboard1.on('error', function(e) {
        console.error('Action:', e.action);
        console.error('Trigger:', e.trigger);
    });

    var clipboard2 = new ClipboardJS('.id_copy2');

    clipboard2.on('success', function(e) {

        alert('已复制QQ号:' + e.text)
        console.info('Action:', e.action);
        console.info('Text:', e.text);
        console.info('Trigger:', e.trigger);

        e.clearSelection();
    });

    clipboard2.on('error', function(e) {
        console.error('Action:', e.action);
        console.error('Trigger:', e.trigger);
    });

    $("#tj_btn").click(function () {


        var msg = $.trim($("#msg").val());
        //focus  该方法表示将输入焦点移至对象上
        if (msg==null || msg=="" || msg==undefined){
            layer.msg("请输入需求",{time:2000,icon:2});
            return false;
        }
    })



//         var tel = $.trim($("#phone").val());
//         //focus  该方法表示将输入焦点移至对象上
//         if (tel==null || tel=="" || tel==undefined){
//             layer.msg("请输入手机号码",{time:2000,icon:2});
//             return false;
//         }
//         if(!(/^1[3456789]\d{9}$/.test(tel))){ //手机号正则匹配：第一位数为1，第二位数为3、4、5、8，第三位数为0-9，第四位数到最后共八位数为数字
//             layer.msg("您的手机格式不正确",{time:2000,icon:2});
//             return false;
//         }
//
//         var full_name = $.trim($("#name").val());
//         //focus  该方法表示将输入焦点移至对象上
//         if (full_name==null || full_name=="" || full_name==undefined){
//             layer.msg("请输入姓名",{time:2000,icon:2});
//             return false;
//         }
//
//         var city = $.trim($("#city").val());
//         //focus  该方法表示将输入焦点移至对象上
//         if (city==null || city=="" || city==undefined){
//             layer.msg("请输入城市",{time:2000,icon:2});
//             return false;
//         }
//
//         $("#tj_btn").addClass('no_click');
// //                if (tel == tels && code == codes){
// //                $("#code").val('');
// //                $("#tel").val('');
//         var action = $("#action").val();
//         var diyid = $("#diyid").val();
//         var dos = $("#do").val();
//         var dede_fields = $("#dede_fields").val();
//         var dede_fieldshash = $("#dede_fieldshash").val();
//
//         $("#case_nav").on('click', 'li', function() {
//
//             $(this).addClass('act').siblings().removeClass('act');
//             var index = $(this).index();
//
//             $(".build_case_list .item").eq(index).show().siblings().hide()
//
//         })

    function from_down(){
        var from = $('#from').offset().top || 0;
        $('html,body').animate({
            'scroll-top': from - 50
        }, 500);
    }
</script>

    <script>
        var swiper = new Swiper('#swipwer1', {
            spaceBetween: 0,
            centeredSlides: true,
            autoplay: {
                delay: 5000,
                disableOnInteraction: false,
            },
            navigation: {
                nextEl: '.tingRight',
                prevEl: '.tingLeft',
            },
            on: {
                slideChangeTransitionEnd: function() {
                    var index = this.activeIndex
                    if (this.activeIndex == 0) {
                        $('.tingRight').attr('src', 'https://m.zhongbenjiaoyu.com//m/img/tingRight.png')
                        $('.tingLeft').attr('src', 'https://m.zhongbenjiaoyu.com//m/img/tingLeft.png')
                    } else if (this.isEnd) {
                        $('.tingRight').attr('src', 'https://m.zhongbenjiaoyu.com//m/img/tingRight1.png')
                        $('.tingLeft').attr('src', 'https://m.zhongbenjiaoyu.com//m/img/tingLeft1.png')
                    } else {
                        $('.tingRight').attr('src', 'https://m.zhongbenjiaoyu.com//m/img/tingRight.png')
                        $('.tingLeft').attr('src', 'https://m.zhongbenjiaoyu.com//m/img/tingLeft1.png')
                    }
                },
            }
        });
    </script>
</body>
</html>